import React from 'react'
import style from './index.module.scss'
import { Button } from 'antd'

export default function ListTitle(props) {
    return (
        <div className={style.list_title}>
            <span className={style.data_list_title}>数据列表</span>
            {props.isStart ? <Button type='default' className={style.btn}>开始备份</Button> : <Button type='default' className={style.btn}>添加</Button>}
        </div>
    )
}
